//package com.egoo.ticket.server.config.mq;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
///**
// * @Auther: victor_tang
// * @Date: 2020/8/9 15:43
// * @Description: Fanout exchange模式消费者
// */
//@Component
//@Slf4j
//public class FanoutReceiveListener {
//
//    @RabbitListener(queues = "queue_fanout1")
//    public void receiveMsg1(String msg) {
//        log.info("队列1接收到消息：" + msg);
//    }
//
//    @RabbitListener(queues = "queue_fanout2")
//    public void receiveMsg2(String msg) {
//        log.info("队列2接收到消息：" + msg);
//    }
//
//}
